import React from "react";
import { Component } from "react";
import "../../css/bigscreen/notice.css"

class Notice extends Component {
    constructor(props) {
        super(props);
        this.state = {
            statistic: {}
        }
    }


    render() {
        return (
            <div className="noticebg">
                <div className="noticeheader">
                    <span className="noticeheadertxt">实时公告通知</span>
                </div>
                <div className="noticecontent">
                    <p className="content">
                        全市共<i className="num">{this.props.schoolNum}</i>所学校加入校园师生安全网格，校内建网共完成师生安全网格
                        <i className="num">{this.props.gridNum}</i>个，校内网格员<i className="num">{this.props.schoolGridNumOfPeople}</i>人。
                        {/* ，校外网格员<i className="num">{this.props.schoolGridOutNumOfPeople}</i>人 */}
                    </p>
                </div>
            </div>
        )
    }
}

export { Notice }